<?php
	/**
	 * Class to set users attributes
	 */
	class User {
		private $pkUsername;
		private $password;
		private $firstName;
		private $secondName;
		private $firstLastName;
		private $secondLastName;
		private $emailAddress;
		private $fkIdRole;
		
		
		 /**
		 * Constructor of the user
		 
		public function __construct($pkUsername,$password,$emailAddress) {
			$this -> pkUsername = $pkUsername;
			$this -> password = $password;
			$this -> emailAddress = $emailAddress;
		}
		*/
				
		/**
		 * Constructor of the user
		 */
		public function __construct($pkUsername,$password,$firstName,$secondName,$firstLastName,$secondLastName,$emailAddress,$fkIdRole) {
			$this -> pkUsername = $pkUsername;
			$this -> password = $password;
			$this -> firstName = $firstName;
			$this -> secondName = $secondName;
			$this -> firstLastName = $firstLastName;
			$this -> secondLastName = $secondLastName;
			$this -> emailAddress = $emailAddress;
			$this -> fkIdRole = $fkIdRole;
		}
		
		/**
		 * Getter and setter for attribute $pkUsername
		 */
		public function setPkUsername($pkUsername) {
			$this -> pkUsername = $pkUsername;	
		}
		
		public function getPkUsername() {
			return $this -> pkUsername;
		}
		
		/**
		 * Getter and setter for attribute $password
		 */
		public function setPassword($password) {
			$this -> password = $password;	
		}
		
		public function getPassword() {
			return $this -> password;
		}
		
		/**
		 * Getter and setter for attribute $firstName
		 */
		public function setFirstName($firstName) {
			$this -> firstName = $firstName;	
		}
		
		public function getFirstName() {
			return $this -> firstName;
		}
		
		/**
		 * Getter and setter for attribute $secondName
		 */
		public function setSecondName($secondName) {
			$this -> secondName = $secondName;	
		}
		
		public function getSecondName() {
			return $this -> secondName;
		}
		
		/**
		 * Getter and setter for attribute $firstLastName
		 */
		public function setFirstLastName($firstLastName) {
			$this -> firstLastName = $firstLastName;	
		}
		
		public function getFirstLastName() {
			return $this -> firstLastName;
		}
		
		/**
		 * Getter and setter for attribute $secondLastName
		 */
		public function setSecondLastName($secondLastName) {
			$this -> secondLastName = $secondLastName;	
		}
		
		public function getSecondLastName() {
			return $this -> secondLastName;
		}
		
		/**
		 * Getter and setter for attribute $emailAddress
		 */
		public function setEmailAddress($emailAddress) {
			$this -> emailAddress = $emailAddress;	
		}
		
		public function getEmailAddress() {
			return $this -> emailAddress;
		}
		
		/**
		 * Getter and setter for attribute $fkIdRole
		 */
		public function setFkIdRole($fkIdRole) {
			$this -> fkIdRole = $fkIdRole;	
		}
		
		public function getFkIdRole() {
			return $this -> fkIdRole;
		}
	}
?>